<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>JavaScript - 开关效果</title>
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
    
    <div class="btn">开灯</div>
    <img class="bulb" src="./images/off.png" alt="loadding err">
    <script src="./js/index.js"></script>
</body>
</html>